HASH/SHA512

Puts the SHA-512 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
0x07e547d9586f6a73f73fbac0435ed76951218fb7d0c8d788a309d785436bbb642e93a252a954f23912547d1e8a3b5ed6e1bfd7097821233fa0538f3db854fee6

Allocation

Allocates for the result of the hashing

Errors

EmptyStack error if there are no items on the stack

Tests

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

results matching ""

    No results matching ""