8000 GitHub - victordalosto/encryptation: Simple encryptation java class
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

victordalosto/encryptation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vcrypt

A simple Java Library that provides Encryptation functionalities for casual purposes.

All the implementations are made through the dalosto.Vcrypt.

Simple use:

Vcrypt vcrypt = new ImpVcrypt()


Interface methods:

/** Encode the raw password */
String encode(String password);

/** Returns an encoded hash in the format: {hashSalt}hashPassword */
String encodeUsingSalt(String password, String salt);

/** Verify if the password after encoded matches the encodedpassword*/
boolean matches(String password, String encodedPassword);

The program allows for easy change of key size and salt size.

Default values are: 256bits Salt and 1024bits for the password, resulting in a 162-length encoded password.

About

Simple encryptation java class

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0