Skip to content

Commit 3af7ca4

Browse files
committed
Merge branch 'release/v3.0.3'
2 parents 3a76fd4 + 92745b6 commit 3af7ca4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected List<ReactPackage> getPackages() {
8383
import { NativeModules, Platform } from 'react-native'
8484
import Aes from 'react-native-aes-crypto'
8585

86-
const generateKey = (password, salt, cost, length) => Aes.pbkdf2(password, salt, cost, length)
86+
const generateKey = (password, salt, cost, length) => Aes.pbkdf2(password, salt, cost, length, 'sha256')
8787

8888
const encryptData = (text, key) => {
8989
return Aes.randomKey(16).then(iv => {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-aes-crypto",
3-
"version": "3.0.2",
3+
"version": "3.0.3",
44
"description": "AES crypto native module for react-native",
55
"main": "index.js",
66
"types": "index.d.ts",

react-native-aes.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Pod::Spec.new do |s|
33
s.name = 'react-native-aes'
4-
s.version = '2.1.2'
4+
s.version = '3.0.3'
55
s.summary = 'Native module for AES encryption'
66
s.author = "tectiv3"
77
s.license = 'MIT'

0 commit comments

Comments
 (0)