paulmillr / noble-ciphers

Audited & minimal JS implementation of Salsa20, ChaCha and AES
https://paulmillr.com/noble
MIT License
214 stars 8 forks source link

Implement AES in pure JS #8

Closed paulmillr closed 1 year ago

paulmillr commented 1 year ago

That would be a good alternative to native crypto.subtle methods which are not supported in RN and could provide a fine low-level primitive for stuff like SIV

steida commented 1 year ago

@paulmillr For React Native, there is https://github.com/margelo/react-native-quick-crypto, which is C++ OpenSSL, but it lacks SubtleCrypto. I think a Polyfill for AES based on margelo/react-native-quick-crypto (or crypto-browserify) would be enough.

paulmillr commented 1 year ago

We won't specifically target RN and develop a polyfill. Generic AES for all platforms sounds good tho