MCPcopy Index your code

hub / github.com/RubyCrypto/ed25519 / functions

Functions276 in github.com/RubyCrypto/ed25519

Methoddecode
Decode a FieldElement from its $(b-1)$-bit encoding. The highest bit is masked out. @param in the $(b-1)$-bit encoding of a FieldElement. @return
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerLittleEndianEncoding.java:69
Methoddecode
Decodes a given field element in its 10 byte $2^{25.5}$ representation. @param in The 32 byte representation. @return The field element in its $2^{25
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java:189
MethoddefineCurveAlias
(String name, String alias)
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSANamedCurveTable.java:55
Methoddivide
(FieldElement val)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:63
MethodengineGeneratePrivate
(KeySpec keySpec)
ext/ed25519_jruby/net/i2p/crypto/eddsa/KeyFactory.java:33
MethodengineGeneratePublic
(KeySpec keySpec)
ext/ed25519_jruby/net/i2p/crypto/eddsa/KeyFactory.java:44
MethodengineGetKeySpec
(Key key, Class<T> keySpec)
ext/ed25519_jruby/net/i2p/crypto/eddsa/KeyFactory.java:55
MethodengineGetParameter
@deprecated
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAEngine.java:487
MethodengineInitSign
(PrivateKey privateKey)
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAEngine.java:116
MethodengineInitVerify
(PublicKey publicKey)
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAEngine.java:145
MethodengineSetParameter
@throws InvalidAlgorithmParameterException if spec is ONE_SHOT_MODE and update() already called @see #ONE_SHOT_MODE
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAEngine.java:465
MethodengineSign
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAEngine.java:206
MethodengineTranslateKey
(Key key)
ext/ed25519_jruby/net/i2p/crypto/eddsa/KeyFactory.java:72
MethodengineUpdate
@throws SignatureException if in one-shot mode
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAEngine.java:178
MethodengineVerify
(byte[] sigBytes)
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAEngine.java:267
Methodequals
(Object o)
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAParameterSpec.java:86
Methodequals
(Object obj)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Field.java:92
Methodequals
(Object obj)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java:976
MethodgenerateKeyPair
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/KeyPairGenerator.java:70
MethodgetAbyte
@return the public key
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPrivateKey.java:319
MethodgetAlgorithm
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPrivateKey.java:69
MethodgetFormat
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPublicKey.java:70
MethodgetFormat
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPrivateKey.java:74
MethodgetH
@return the hash
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAPrivateKeySpec.java:112
MethodgetName
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAGenParameterSpec.java:29
MethodgetNegativeA
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAPublicKeySpec.java:54
MethodgetParams
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAPublicKeySpec.java:58
MethodgetParams
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAPrivateKeySpec.java:130
MethodgetQm2
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Field.java:75
MethodgetRepresentation
Gets the representation of the group element. @return The representation.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:297
MethodgetSeed
@return will be null if constructed directly from the private key
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAPrivateKeySpec.java:105
MethodgetT
Gets the $T$ value of the group element. This is for most representation the projective $T$ coordinate. @return The $T$ value.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:337
MethodgetX
Gets the $X$ value of the group element. This is for most representation the projective $X$ coordinate. @return The $X$ value.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:307
MethodgetY
Gets the $Y$ value of the group element. This is for most representation the projective $Y$ coordinate. @return The $Y$ value.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:317
MethodgetZ
Gets the $Z$ value of the group element. This is for most representation the projective $Z$ coordinate. @return The $Z$ value.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:327
Methodgeta
@return the private key
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAPrivateKeySpec.java:119
MethodhashCode
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPublicKey.java:260
MethodhashCode
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAPrivateKey.java:323
MethodhashCode
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAParameterSpec.java:79
MethodhashCode
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Curve.java:82
MethodhashCode
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:727
MethodhashCode
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Field.java:87
MethodhashCode
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:114
MethodhashCode
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java:971
Methodinitialize
Create a new Ed25519::SigningKey from the given seed value @param seed [String] 32-byte seed value from which the key should be derived
lib/ed25519/signing_key.rb:30
Methodinitialize
(key)
lib/ed25519/verify_key.rb:9
Methodinspect
String inspection that does not leak secret values
lib/ed25519/signing_key.rb:48
Methodinspect
Show hex representation of serialized coordinate in string inspection
lib/ed25519/verify_key.rb:41
Methodinvert
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:85
Methodinvert
Invert this field element. <p> The inverse is found via Fermat's little theorem:<br> $a^p \cong a \mod p$ and therefore $a^{(p-2)} \cong a^{-1} \mod p
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java:716
MethodisNegative
From the Ed25519 paper:<br> $x$ is negative if the $(b-1)$-bit encoding of $x$ is lexicographically larger than the $(b-1)$-bit encoding of -x. If $q$
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/Encoding.java:53
MethodisNegative
From the Ed25519 paper:<br> $x$ is negative if the $(b-1)$-bit encoding of $x$ is lexicographically larger than the $(b-1)$-bit encoding of $-x$. If $
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerLittleEndianEncoding.java:99
MethodisNegative
Is the FieldElement negative in this encoding? <p> Return true if $x$ is in $\{1,3,5,\dots,q-2\}$<br> Return false if $x$ is in $\{0,2,4,\dots,q-1\}$
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java:251
MethodisNonZero
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:37
MethodisNonZero
Gets a value indicating whether or not the field element is non-zero. @return 1 if it is non-zero, 0 otherwise.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java:54
MethodisOnCurve
Verify that a point is on its curve. @return true if the point lies on its curve.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/GroupElement.java:1004
FunctionmEd25519_Provider_Ref10_create_keypair
ext/ed25519_ref10/ed25519_ref10.c:23
FunctionmEd25519_Provider_Ref10_sign
ext/ed25519_ref10/ed25519_ref10.c:39
FunctionmEd25519_Provider_Ref10_verify
ext/ed25519_ref10/ed25519_ref10.c:65
MethodmultiplyAndAdd
(byte[] a, byte[] b, byte[] c)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerScalarOps.java:33
MethodmultiplyAndAdd
$(ab+c) \bmod q$ <p> Input: </p><ul> <li>$a[0]+256 a[1]+\dots+256^{31} a[31] = a$ <li>$b[0]+256 b[1]+\dots+256^{31} b[31] = b$ <li>$c[0]+256 c[1]+\dot
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519ScalarOps.java:341
Methodnegate
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:59
Methodnegate
$h = -f$ <p> TODO-CR BR: see above. <p> Preconditions: </p><ul> <li>$|f|$ bounded by $1.1 2^{25},1.1 2^{24},1.1 2^{25},1.1 2^{24},$ etc. </ul><p> Post
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java:131
Methodpow22523
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:103
Methodpow22523
Gets this field element to the power of $(2^{252} - 3)$. This is a helper function for calculating the square root. <p> TODO-CR BR: I think it makes s
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java:837
Methodreduce
(byte[] s)
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerScalarOps.java:29
Methodreduce
Reduction modulo the group order $q$. <p> Input: $s[0]+256 s[1]+\dots+256^{63} s[63] = s$ <p> Output: $s[0]+256 s[1]+\dots+256^{31} s[31] = s \bmo
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519ScalarOps.java:38
Methodrun
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSASecurityProvider.java:32
MethodsignOneShot
To efficiently sign all the data in one shot, if it is available, use this method, which will avoid copying the data. Same as: <pre> setParameter(O
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAEngine.java:339
MethodsquareAndDouble
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:80
MethodsquareAndDouble
$h = 2 f f$ <p> Can overlap $h$ with $f$. <p> Preconditions: </p><ul> <li>$|f|$ bounded by $1.65 2^{26},1.65 2^{25},1.65 2^{26},1.65 2^{25},$ etc. </u
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java:564
Methodsubtract
$h = f - g$ <p> Can overlap $h$ with $f$ or $g$. <p> TODO-CR BR: See above. <p> Preconditions: </p><ul> <li>$|f|$ bounded by $1.1 2^{25},1.1 2^{24},1.
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java:106
MethodsubtractOne
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:54
MethodtoString
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/bigint/BigIntegerFieldElement.java:127
MethodtoString
()
ext/ed25519_jruby/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java:984
MethodverifyOneShot
To efficiently verify all the data in one shot, if it is available, use this method, which will avoid copying the data. Same as: <pre> setParameter
ext/ed25519_jruby/net/i2p/crypto/eddsa/EdDSAEngine.java:384
← previous201–276 of 276, ranked by callers