hi! i'm experimenting the digest functions of openssl for my course in
computer system security
i have to create a digest which requires a password for verification
of the file associated
i run these commands

openssl dgst -md5 -out MD5dgst msg
openssl enc -aes256 -K 123456789 -iv 0 -in MD5dgst -out MD5dgst.keyed

i don't know if it's the correct solution or if there's one integrated
in just one command? do you know if it is possible?

then for verification of the file i perform the reverse commands, that
is, i decrypt the digest with my key, print the content of the digest
and then run md5sum on the file

is there a way that works just like signed digest (i mean like with
the -sign option)?

thanks a lot
Vittorio
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to