kz.greetgo.security.crypto.CryptoSourceConfigDefault Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of greetgo.security Show documentation
Show all versions of greetgo.security Show documentation
Security infrastructure used in greetgo!
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;
}
}