![]() | Fun 0.41.5 The programming language that makes You have fun |
Implements OP_OPENSSL_SHA512 to compute a SHA-512 hash in hex. More...
Go to the source code of this file.
Functions | |
| free_value (vdata) | |
| if (!s) | |
| free (s) | |
| free (hex) | |
| push_value (vm, out) | |
Variables | |
| case | OP_OPENSSL_SHA512 |
| char * | s = value_to_string_alloc(&vdata) |
| char * | hex = fun_openssl_sha512_hex((const unsigned char *)s, strlen(s)) |
| Value | out = make_string(hex) |
| break | |
Implements OP_OPENSSL_SHA512 to compute a SHA-512 hash in hex.
Behavior:
Notes:
Errors:
Definition in file sha512.c.
| free | ( | hex | ) |
| free | ( | s | ) |
| free_value | ( | vdata | ) |
| push_value | ( | vm | , |
| out | ) |

| Value out = make_string(hex) |
| char* s = value_to_string_alloc(&vdata) |