Skip to content

encrypt and decript string with random generated key

Notifications You must be signed in to change notification settings

chamikaras/simpleEncryptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simpleEncryptor

Authored by Chamikara Samarasekara

This is not method of advanced entricyption

1.you can simply encrypt your String with random genarated key 2.you can't decrypt to string without your decrypt key 3.This is only simple encryptor

usage

1.copy SimpleEncryptor.class to java main folder

2.encrypt data

SimpleEncryptor se = SimpleEncryptor(MAXIMUM_LENTH_OF_STRING); se.simpleencryptdata(TEXT_YOU_WANT_TO_ENCRYPT); string encrypeddata = se.simpleEncryptor.getEncryptedData; //encrypted data string key = se.getStringDecryptKey; //decrypted data //if you want to get interger array of key use //se.getRawDecryptKey;

3.decrypt data

SimpleEncryptor se = SimpleEncryptor(MAXIMUM_LENTH_OF_STRING); string decrypted data = se.getDecryptData(ENCRYPTED_TEXT,DECRYPT_KEY);

About

encrypt and decript string with random generated key

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages