
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-native-crypton
Advanced tools
An encryption pakage for react native based on native implemention
$ npm install react-native-crypton --save
$ react-native link react-native-crypton
Libraries ➜ Add Files to [your project's name]node_modules ➜ react-native-crypton and add RNCrypton.xcodeprojlibRNCrypton.a to your project's Build Phases ➜ Link Binary With LibrariesCmd+R)<android/app/src/main/java/[...]/MainActivity.javaimport com.reactlibrary.RNCryptonPackage; to the imports at the top of the filenew RNCryptonPackage() to the list returned by the getPackages() methodandroid/settings.gradle:
include ':react-native-crypton'
project(':react-native-crypton').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-crypton/android')
android/app/build.gradle:
compile project(':react-native-crypton')
import { Pbkdf2 } from 'react-native-crypton';
//encrypt
//text = String we want to decrypt in base-64
//password = String password
Pbkdf2.encrypt("<text>", "<password>")
.then(r => console.log('encrypted:: ', r))
.catch(e => console.log('enc catched: ', e));
//decrypt
Pbkdf2.decrypt("<encrypted_text>", "<password>")
.then(r => console.log('decrypted:: ', r))
.catch(e => console.log('dec catched: ', e));
E-mail: amirhosein5858@gmail.com Backup e-mail: amir@rednode.ir
FAQs
implement native encryption for react native,simple and easy to use
We found that react-native-crypton demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.