From ff3d540154e9083044a3aefbffb26564167316a2 Mon Sep 17 00:00:00 2001 From: tectiv3 Date: Tue, 18 Jun 2024 17:04:03 +0900 Subject: [PATCH 1/2] Fix readme example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1deacca..879640c 100755 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ protected List getPackages() { import { NativeModules, Platform } from 'react-native' import Aes from 'react-native-aes-crypto' -const generateKey = (password, salt, cost, length) => Aes.pbkdf2(password, salt, cost, length) +const generateKey = (password, salt, cost, length) => Aes.pbkdf2(password, salt, cost, length, 'sha256') const encryptData = (text, key) => { return Aes.randomKey(16).then(iv => { From 92745b66b2d3fa0f3506c2a0eea816f6a9fd70b3 Mon Sep 17 00:00:00 2001 From: tectiv3 Date: Tue, 18 Jun 2024 17:30:45 +0900 Subject: [PATCH 2/2] Bump version --- package.json | 2 +- react-native-aes.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e09440b..f027139 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-aes-crypto", - "version": "3.0.2", + "version": "3.0.3", "description": "AES crypto native module for react-native", "main": "index.js", "types": "index.d.ts", diff --git a/react-native-aes.podspec b/react-native-aes.podspec index 0902bfb..600b127 100644 --- a/react-native-aes.podspec +++ b/react-native-aes.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'react-native-aes' - s.version = '2.1.2' + s.version = '3.0.3' s.summary = 'Native module for AES encryption' s.author = "tectiv3" s.license = 'MIT'