(algorithm: string)
| 12 | const AesForked = NativeModules.AesForked; |
| 13 | |
| 14 | function checkForKDFAlgorithm(algorithm: string) { |
| 15 | if (algorithm !== KDF_ALGORITHM) { |
| 16 | throw new Error('Unsupported KDF algorithm'); |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | class AesEncryptionLibrary implements EncryptionLibrary { |
| 21 | deriveKey = async ( |
no outgoing calls
no test coverage detected