Skip to content

beytullahakyuz/securebase-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TR

SecureBase kütüphanesi standart base64 algoritmasına ek olarak gizli anahtar seçeneği sunmaktadır. Böylelikle kütüphaneyi kullanan projelere özgü base64 işlemi gerçekleşir. Her projenin gizli anahtarı farklı olacağından oluşan base64 çıktısıda gizli anahtara bağlı olarak değişir.

Detaylı bilgi için aşağıdaki kaynağı inceleyiniz.

SecureBase Wiki

Kullanım/Örnek

//SecureBase.SBEncoding sbencoding = SecureBase.SBEncoding.UNICODE;
SecureBase.SBEncoding sbencoding = SecureBase.SBEncoding.UTF8;

SecureBase bs = new SecureBase(sbencoding);
bs.SetSecretKey(secretkey);

//Text to Base64
string encodeddata = bs.Encode(data);

//Base64 to Text
string decodeddata = bs.Decode(data);

Ekran Görüntüleri

Kodlama (Farklı gizli anahtarlarla)

Kodlama Kodlama

Kod çözme

Kod çözme Kod çözme

EN

The SecureBase library offers a secret key option in addition to the standard base64 algorithm. Since the secret key will be different in each project, the base64 output will also vary depending on the secret key.

For detailed information, please review the source below.

SecureBase Wiki

Using/Example

//SecureBase.SBEncoding sbencoding = SecureBase.SBEncoding.UNICODE;
SecureBase.SBEncoding sbencoding = SecureBase.SBEncoding.UTF8;

SecureBase bs = new SecureBase(sbencoding);
bs.SetSecretKey(secretkey);

//Text to Base64
string encodeddata = bs.Encode(data);

//Base64 to Text
string decodeddata = bs.Decode(data);

Screenshots

Encoding (Different secret keys)

Encoding Encoding

Decoding

Decoding Decoding

About

SecureBase Java Library

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages