Skip to content

jsfan3/SHA-Codename-One

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SHA-Codename-One

SHA-256 Hashing for Codename One

Example of usage:

Form hi = new Form("SHA-256 hash", BoxLayout.y());
TextField bla = new TextField("", "Type Text Here", 20, TextArea.ANY);
TextArea encoded = new TextArea();
hi.addAll(bla, encoded);
        
bla.addDataChangedListener((a, b) -> {
   String s = bla.getText();
   String hash = SHA256Digest.sha256hash(s);
   encoded.setText(hash);
   hi.revalidate();
});

hi.show();

About

SHA-256 Hashing for Codename One

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published