File path refactoring. No code changes. (0.37.51)
This commit is contained in:
parent
2fa8f8653e
commit
db68b30d5b
27 changed files with 0 additions and 0 deletions
|
|
@ -1,35 +0,0 @@
|
|||
#!/usr/bin/env fun
|
||||
|
||||
/*
|
||||
* This file is part of the Fun programming language.
|
||||
* https://fun-lang.xyz/
|
||||
*
|
||||
* Copyright 2025 Johannes Findeisen <you@hanez.org>
|
||||
* Licensed under the terms of the Apache-2.0 license.
|
||||
* https://opensource.org/license/apache-2-0
|
||||
*
|
||||
* Added: 2025-10-01
|
||||
*/
|
||||
|
||||
/*
|
||||
* Example: Using SHA384 from lib/crypt/sha384.fun
|
||||
*
|
||||
* Expected output for "abc":
|
||||
* cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7
|
||||
*/
|
||||
|
||||
#include <crypt/sha384.fun>
|
||||
|
||||
s = SHA384()
|
||||
|
||||
// Hex input representing "abc"
|
||||
print(s.sha384_hex("616263"))
|
||||
|
||||
// Raw string input
|
||||
print(s.sha384_str("abc"))
|
||||
|
||||
/* Expected output:
|
||||
cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7
|
||||
cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7
|
||||
*/
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue