HASH/SHA512-256

Puts the SHA-512/256 hash of the top item on the stack back to the top of the stack

Input stack: a

Output stack: b

PumpkinDB> "The quick brown fox jumps over the lazy dog" HASH/SHA512-256
0xdd9d67b371519c339ed8dbd25af90e976a1eeefd4ad3d889005e532fc5bef04d

Allocation

Allocates for the result of the hashing

Errors

EmptyStack error if there are no items on the stack

Tests

works : "" HASH/SHA512-256 0xc672b8d1ef56ed28ab87c3622c5114069bdd3ad7b8f9737498d0c01ecef0967a EQUAL?.
empty_stack : [HASH/SHA512-256] TRY UNWRAP 0x04 EQUAL?.

results matching ""

    No results matching ""