FedericoCeratto / nim-libsodium

Nim wrapper for the libsodium library
Mozilla Public License 2.0
46 stars 13 forks source link

Decryption problem? #9

Closed Serasar closed 5 years ago

Serasar commented 5 years ago

https://bpaste.net/show/a0615bf19f94 I don't get dec_key for some reason, only empty string. Can it be problem on my end? pubkey.txt:https://bpaste.net/show/1e2ba6491b98 privkey.txt:https://bpaste.net/show/83ffce3f5d55 encryption_key:https://bpaste.net/show/293a8dc5487d

Serasar commented 5 years ago

I mean if I feed string, and it decrypts in a wrong way there should be error?

Serasar commented 5 years ago

Sorry, its me it was indeed empty string