fission-codes / keystore-idb

In-browser key management with IndexedDB and the Web Crypto API
Apache License 2.0
57 stars 8 forks source link

Decrypt char encoding #37

Closed dholms closed 4 years ago

dholms commented 4 years ago

Problem

We're trying to decode a msg to decrypt as Unicode but it's actually Base64

Solution

Normalize from base64 instead of from Unicode