haodynasty / Android Rsa
Licence: apache-2.0
big file and string RSA encryption by android
Stars: ✭ 66
Programming Languages
java
68154 projects - #9 most used programming language
Labels
Projects that are alternatives of or similar to Android Rsa
Hybrid Crypto Js
RSA+AES hybrid encryption implementation for JavaScript. Works with Node.js, React Native and modern browsers.
Stars: ✭ 87 (+31.82%)
Mutual labels: rsa, decryption
Encryptor4j
Strong encryption for Java simplified
Stars: ✭ 92 (+39.39%)
Mutual labels: rsa, decryption
Jsrsasign
The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp, CAdES JSON Web Signature/Token in pure JavaScript.
Stars: ✭ 2,760 (+4081.82%)
Mutual labels: rsa, decryption
Myst
Secure Multiparty Key Generation, Signature and Decryption javacard applet
Stars: ✭ 21 (-68.18%)
Mutual labels: decryption
Low Latency Android Ios Linux Windows Tvos Macos Interactive Audio Platform
🇸Superpowered Audio, Networking and Cryptographics SDKs. High performance and cross platform on Android, iOS, macOS, tvOS, Linux, Windows and modern web browsers.
Stars: ✭ 1,121 (+1598.48%)
Mutual labels: rsa
Learningmasteringalgorithms C
Mastering Algorithms with C 《算法精解:C语言描述》源码及Xcode工程、Linux工程
Stars: ✭ 615 (+831.82%)
Mutual labels: rsa
Hat.sh
encrypt and decrypt files in your browser. Fast, Secure client-side File Encryption and Decryption using the web crypto api
Stars: ✭ 886 (+1242.42%)
Mutual labels: decryption
Java Crypto Utils
Java Cryptographic, Encoding and Hash Utilities
Stars: ✭ 15 (-77.27%)
Mutual labels: decryption
Lyra
A lightweight encryption tool designed for ease of use.
Stars: ✭ 22 (-66.67%)
Mutual labels: decryption
Iocane
An odorless, tasteless NodeJS crypto library that dissolves instantly in liquid
Stars: ✭ 35 (-46.97%)
Mutual labels: decryption
Ciphey
⚡ Automatically decrypt encryptions without knowing the key or cipher, decode encodings, and crack hashes ⚡
Stars: ✭ 9,116 (+13712.12%)
Mutual labels: decryption
Simple Polymorphic Engine Spe32
Simple Polymorphic Engine (SPE32) is a simple polymorphic engine for encrypting code and data. It is an amateur project that can be used to demonstrate what polymorphic engines are.
Stars: ✭ 59 (-10.61%)
Mutual labels: decryption
Swcrypt
RSA public/private key generation, RSA, AES encryption/decryption, RSA sign/verify in Swift with CommonCrypto in iOS and OS X
Stars: ✭ 632 (+857.58%)
Mutual labels: rsa
Dbtransitencryption
Secure data before sending it over the internet
Stars: ✭ 20 (-69.7%)
Mutual labels: rsa
android-rsa
rsa encryption and decryption by android
Import
add to build.gradle,${latest.version} is
dependencies {
compile 'com.blakequ.rsa:rsa:${latest.version}'
}
maven
<dependency>
<groupId>com.blakequ.rsa</groupId>
<artifactId>rsa</artifactId>
<version>${latest.version}</version>
<type>pom</type>
</dependency>
How to use
you can download example and study how to use
For server code, you can find in example:com/blakequ/rsademo/javalib
1. set key
FileEncryptionManager mFileEncryptionManager = FileEncryptionManager.getInstance();
//1.you can use generate public and private key
mFileEncryptionManager.generateKey();
//you can invoke getPublickey() and getPrivateKey() to save key to local file
//or 2.set public key and private key by youself(not use auto generate key)
mFileEncryptionManager.setRSAKey(String publicKey, String privateKey);
mFileEncryptionManager.setRSAKey(RSAPublicKey publicKey, RSAPrivateKey privateKey)
2. encrypt file or data
byte[] data = FileUtils.getBytesFromInputStream(getResources().getAssets().open("*.txt"));
//from byte array
byte[] result = mFileEncryptionManager.encryptFileByPublicKey(data, saveEncryFile);
//or from file
byte[] result = mFileEncryptionManager.encryptFileByPublicKey(ogirialFile, saveEncryFile);
3. decrypt file or data
byte[] result = mFileEncryptionManager.decryptFileByPrivateKey(encryFile, decryFile);
byte[] result = mFileEncryptionManager.decryptFileByPrivateKey(encryByteData, decryFile);
link
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].