Menu

#1324 Error in encrypting.

open
aes (7)
5
2012-07-01
2012-07-01
No

Hello I am using the following tcl code

-[base64_encode [aes::aes -dir encrypt -key $key $email]].

I generate a random key, when I want to decrypt the value using this code

-set decrypted_email [aes::aes -dir decrypt -key $key [base64_decode $email]]

I sometimes get this error:-

can't use empty string as operand of "&"
while executing
"expr {($v << 2) | (($w & 0x30) >> 4)}"

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.