All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.sinri.keel.helper.KeelCryptographyHelper Maven / Gradle / Ivy

Go to download

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