Christoffer Carlsson
Christoffer Carlsson
The code is now updated to keep the original API intact, meaning that `Buffer` is used as inputs and outputs for `encrypt` and `decrypt` methods. I've added `encryptCompat` and `decryptCompat`...
Hey @sunknudsen, It just occurred to me that the original API can be maintained for both environments by simply checking `typeof window === 'object'` 😄 If Blockcrypt is being used...
Hey @sunknudsen, Will try to answer as best I can to each of your comments: > Still exploring, but noticed that [Message](https://github.com/sunknudsen/blockcrypt/blob/938557ceabd0fb8e6fbf9d403648e72d6284b517/src/types.ts#L17) can no longer be of type `Buffer` which...