This package has been deprecated

    Author message:

    nnno longer use

    react-native-encryption-insphere

    1.0.1 • Public • Published

    react-native-encryption-insphere

    Getting started

    $ npm install react-native-encryption-insphere --save

    Mostly automatic installation

    $ react-native link react-native-encryption-insphere

    Usage

    import Encryption from 'react-native-encryption-insphere';
     
    // TODO: What to do with the module?
    key = "XXXXX" // in base64 format
    iv = "XXXX"   //// in base 64 format
    keysize = 128 or 256
    text = "Sachin Agrawal"
     
    ### Encryption In Hex 
     
    Encryption.encryptInHex(iv,key,keysize,text,(encryptText)=>{
    // use encryptText
    })
     
    ### Decryption By Hex 
     
    Encryption.decryptByHex(iv,key,keysize,text,(decryptText)=>{
    // use decryptText
    })
     
    ### Encryption In Base64 
     
    Encryption.encryptInBase64(iv,key,keysize,text,(encryptText)=>{
    // use encryptText
    })
     
    ### Decryption By Base64 
     
    Encryption.decryptByBase64(iv,key,keysize,text,(decryptText)=>{
    // use decryptText
    })

    Install

    npm i react-native-encryption-insphere

    DownloadsWeekly Downloads

    5

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    663 kB

    Total Files

    125

    Last publish

    Collaborators

    • avatar