Skip to content

Commit

Permalink
Merge branch 'release/v3.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
tectiv3 committed Jun 18, 2024
2 parents 3a76fd4 + 92745b6 commit 3af7ca4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected List<ReactPackage> 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 => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion react-native-aes.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 3af7ca4

Please sign in to comment.