Like echo qwerty -n | sha256sum | awk '{print $1}' or echo -n qwerty |
openssl dgst -sha256 do.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape
Like echo qwerty -n | sha256sum | awk '{print $1}' or echo -n qwerty
|
openssl dgst -sha256 do.
Not yet. Use the EVP_Digest*() functions.
From the OPENSL docs:
//-
New applications should use the SHA2 digest algorithms such as SHA256. The
other digest algorithms
Opps, some bugs to fix :
//-
function ptr2digest(const adigestname: ansistring; const adata: pointer;
const asize: cardinal):ansistring;
var
ctx:pEVP_MD_CTX;
digest: pEVP_MD;
md_len: integer;
begin
md_len:= 0;
ctx:= pointer(EVP_MD_CTX_create);
digest:=
3 matches
Mail list logo