Tabnine Logo
RIPEMD128Digest
Code IndexAdd Tabnine to your IDE (free)

How to use
RIPEMD128Digest
in
org.spongycastle.crypto.digests

Best Java code snippets using org.spongycastle.crypto.digests.RIPEMD128Digest (Showing top 17 results out of 315)

origin: com.madgag.spongycastle/pkix

  public ExtendedDigest get(AlgorithmIdentifier digestAlgorithmIdentifier)
  {
    return new RIPEMD128Digest();
  }
});
origin: com.madgag.spongycastle/core

a = F1(a, b, c, d, X[ 0], 11);
d = F1(d, a, b, c, X[ 1], 14);
c = F1(c, d, a, b, X[ 2], 15);
b = F1(b, c, d, a, X[ 3], 12);
a = F1(a, b, c, d, X[ 4],  5);
d = F1(d, a, b, c, X[ 5],  8);
c = F1(c, d, a, b, X[ 6],  7);
b = F1(b, c, d, a, X[ 7],  9);
a = F1(a, b, c, d, X[ 8], 11);
d = F1(d, a, b, c, X[ 9], 13);
c = F1(c, d, a, b, X[10], 14);
b = F1(b, c, d, a, X[11], 15);
a = F1(a, b, c, d, X[12],  6);
d = F1(d, a, b, c, X[13],  7);
c = F1(c, d, a, b, X[14],  9);
b = F1(b, c, d, a, X[15],  8);
a = F2(a, b, c, d, X[ 7],  7);
d = F2(d, a, b, c, X[ 4],  6);
c = F2(c, d, a, b, X[13],  8);
b = F2(b, c, d, a, X[ 1], 13);
a = F2(a, b, c, d, X[10], 11);
d = F2(d, a, b, c, X[ 6],  9);
c = F2(c, d, a, b, X[15],  7);
b = F2(b, c, d, a, X[ 3], 15);
a = F2(a, b, c, d, X[12],  7);
d = F2(d, a, b, c, X[ 0], 12);
c = F2(c, d, a, b, X[ 9], 15);
b = F2(b, c, d, a, X[ 5],  9);
origin: com.madgag/sc-light-jdk15on

a = F1(a, b, c, d, X[ 0], 11);
d = F1(d, a, b, c, X[ 1], 14);
c = F1(c, d, a, b, X[ 2], 15);
b = F1(b, c, d, a, X[ 3], 12);
a = F1(a, b, c, d, X[ 4],  5);
d = F1(d, a, b, c, X[ 5],  8);
c = F1(c, d, a, b, X[ 6],  7);
b = F1(b, c, d, a, X[ 7],  9);
a = F1(a, b, c, d, X[ 8], 11);
d = F1(d, a, b, c, X[ 9], 13);
c = F1(c, d, a, b, X[10], 14);
b = F1(b, c, d, a, X[11], 15);
a = F1(a, b, c, d, X[12],  6);
d = F1(d, a, b, c, X[13],  7);
c = F1(c, d, a, b, X[14],  9);
b = F1(b, c, d, a, X[15],  8);
a = F2(a, b, c, d, X[ 7],  7);
d = F2(d, a, b, c, X[ 4],  6);
c = F2(c, d, a, b, X[13],  8);
b = F2(b, c, d, a, X[ 1], 13);
a = F2(a, b, c, d, X[10], 11);
d = F2(d, a, b, c, X[ 6],  9);
c = F2(c, d, a, b, X[15],  7);
b = F2(b, c, d, a, X[ 3], 15);
a = F2(a, b, c, d, X[12],  7);
d = F2(d, a, b, c, X[ 0], 12);
c = F2(c, d, a, b, X[ 9], 15);
b = F2(b, c, d, a, X[ 5],  9);
origin: com.madgag/scprov-jdk15on

public Digest()
{
  super(new RIPEMD128Digest());
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

  public ExtendedDigest get(AlgorithmIdentifier digestAlgorithmIdentifier)
  {
    return new RIPEMD128Digest();
  }
});
origin: com.madgag.spongycastle/core

public Memoable copy()
{
  return new RIPEMD128Digest(this);
}
origin: com.madgag.spongycastle/prov

public Digest()
{
  super(new RIPEMD128Digest());
}
origin: com.madgag.spongycastle/prov

  public HashMac()
  {
    super(new HMac(new RIPEMD128Digest()));
  }
}
origin: com.madgag/scprov-jdk15on

  public HashMac()
  {
    super(new HMac(new RIPEMD128Digest()));
  }
}
origin: com.madgag/scprov-jdk15on

  public RIPEMD128()
  {
    super(new HMac(new RIPEMD128Digest()));
  }
}
origin: com.madgag/scprov-jdk15on

  public RIPEMD128()
  {
    super(new HMac(new RIPEMD128Digest()));
  }
}
origin: com.madgag.spongycastle/prov

  public RIPEMD128WithRSAEncryption()
  {
    super(new RIPEMD128Digest(), new RSABlindedEngine());
  }
}
origin: com.madgag.spongycastle/prov

  public Object clone()
    throws CloneNotSupportedException
  {
    Digest d = (Digest)super.clone();
    d.digest = new RIPEMD128Digest((RIPEMD128Digest)digest);
    return d;
  }
}
origin: com.madgag/scprov-jdk15on

  public Object clone()
    throws CloneNotSupportedException
  {
    Digest d = (Digest)super.clone();
    d.digest = new RIPEMD128Digest((RIPEMD128Digest)digest);
    return d;
  }
}
origin: com.madgag/scprov-jdk15on

  public RIPEMD128()
  {
    super(TeleTrusTObjectIdentifiers.ripemd128, new RIPEMD128Digest(), new PKCS1Encoding(new RSABlindedEngine()));
  }
}
origin: com.madgag.spongycastle/prov

  public RIPEMD128()
  {
    super(TeleTrusTObjectIdentifiers.ripemd128, new RIPEMD128Digest(), new PKCS1Encoding(new RSABlindedEngine()));
  }
}
origin: stackoverflow.com

 RSAKeyParameters pubParameters = new RSAKeyParameters(false, mod3, pub3);
RSAKeyParameters privParameters = new RSAKeyParameters(true, mod3, pri3);
RSAEngine rsa = new RSAEngine();
byte[] data;
ISO9796d2Signer eng = new ISO9796d2Signer(rsa, new RIPEMD128Digest());
eng.init(true, privParameters);
eng.update(msg4[0]);
eng.update(msg4, 1, msg4.length - 1);
data = eng.generateSignature();
eng.init(false, pubParameters);
eng.update(msg4[0]);
eng.update(msg4, 1, msg4.length - 1);
if (eng.hasFullMessage()) {
  eng = new ISO9796d2Signer(rsa, new RIPEMD128Digest());
  eng.init(false, pubParameters);
  if (!eng.verifySignature(sig4)) {
    // signature tampered with
  }
  byte[] message = eng.getRecoveredMessage(), 0, msg4);
}
org.spongycastle.crypto.digestsRIPEMD128Digest

Javadoc

implementation of RIPEMD128

Most used methods

  • <init>
    Copy constructor. This will copy the state of the provided message digest.
  • F1
  • F2
  • F3
  • F4
  • FF1
  • FF2
  • FF3
  • FF4
  • RL
  • f1
  • f2
  • f1,
  • f2,
  • f3,
  • f4,
  • finish,
  • processBlock,
  • reset,
  • unpackWord,
  • copyIn

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • addToBackStack (FragmentTransaction)
  • putExtra (Intent)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now