org.whispersystems.curve25519.JavaCurve25519Provider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of curve25519-java Show documentation
Show all versions of curve25519-java Show documentation
Curve25519 library for Java
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.curve25519;
import org.whispersystems.curve25519.java.Sha512;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
public class JavaCurve25519Provider extends BaseJavaCurve25519Provider {
protected JavaCurve25519Provider() {
super(new JCESha512Provider(), new JCESecureRandomProvider());
}
@Override
public boolean isNative() {
return false;
}
}