Skip to content

Use WebCryptoAPI for encryptAes and decryptAes (Prototype)#75

Open
Basskrapfen wants to merge 1 commit intoarlolra:masterfrom
Basskrapfen:crypto_api_prototype
Open

Use WebCryptoAPI for encryptAes and decryptAes (Prototype)#75
Basskrapfen wants to merge 1 commit intoarlolra:masterfrom
Basskrapfen:crypto_api_prototype

Conversation

@Basskrapfen
Copy link

Hi,

the company I'm working for, needed a demo application using OTR and the WebCryptoAPI. Therefore I modified the version v0.2.12 of otr.js to use the WebCryptoAPI instead of CryptoJS for AES encryption.
As the WebCryptoAPI is completely asynchronous, it does not really fit the current design which relies on synchronous call. But you will see that quite fast if you review the code.

Maybe you have some use for it.

Best Regards,
Oliver

Spec of WebCryptoAPI: http://www.w3.org/TR/WebCryptoAPI/

@arlolra arlolra mentioned this pull request Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant