Skip to content

morefun0302/ti-crypt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

Asymmetric Encryption with RSA for Titanium (Android)

iOS Version: https://github.com/moritzknecht/TiRSA

Example:

var crypt = require("miga.ticrypt");
var keypair = crypt.generateKeyPair();

console.log("Pub: " + keypair.publicKey);
console.log("Priv: " + keypair.privateKey);

var txt = crypt.encode({
    plainText: "test text",
    publicKey: keypair.publicKey
});
console.log("Encode: " + txt);

var txt_decode = crypt.decode({
    cipherText: txt,
    privateKey: keypair.privateKey
});

console.log("Decode: " + txt_decode);

$.index.open();

About

Asymmetric Encryption with RSA (private/public key)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 89.1%
  • JavaScript 10.9%