io.github.sinri.keel.helper.KeelCryptographyHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Keel Show documentation
Show all versions of Keel Show documentation
A website framework with VERT.X for ex-PHP-ers, exactly Ark Framework Users.
The newest version!
package io.github.sinri.keel.helper;
import io.github.sinri.keel.helper.encryption.aes.KeelAes;
import io.github.sinri.keel.helper.encryption.rsa.KeelRSA;
/**
* @since 2.8
*/
public class KeelCryptographyHelper {
private static final KeelCryptographyHelper instance = new KeelCryptographyHelper();
private KeelCryptographyHelper() {
}
static KeelCryptographyHelper getInstance() {
return instance;
}
public KeelAes aes(KeelAes.SupportedCipherAlgorithm cipherAlgorithm, String key) {
return KeelAes.create(cipherAlgorithm, key);
}
/**
* @since 3.0.1
*/
public KeelRSA rsa() {
return new KeelRSA();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy