4 lines
101 B
Prolog
4 lines
101 B
Prolog
:- use_module(library(sha)).
|
|
sha_hex(Str,Hex):-
|
|
sha_hash(Str, Hash, []),
|
|
hash_atom(Hash, Hex).
|