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

kz.greetgo.security.crypto.CryptoSourceConfigDefault Maven / Gradle / Ivy

There is a newer version: 0.0.12
Show newest version
package kz.greetgo.security.crypto;

public class CryptoSourceConfigDefault implements CryptoSourceConfig {
  @Override
  public String secureRandomAlgorithm() {
    return "SHA1PRNG";
  }

  @Override
  public String messageDigestAlgorithm() {
    return "SHA-256";
  }

  @Override
  public String keyPairGeneratorAlgorithm() {
    return "RSA";
  }

  @Override
  public String cipherAlgorithm() {
    return "RSA";
  }

  @Override
  public String keyFactoryAlgorithm() {
    return "RSA";
  }

  @Override
  public int blockSize() {
    return 117;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy