UNPKG

@yipsec/rise

Version:

eclipse-resistant network identities

1 lines 9.84 kB
{"list":[{"title":"module:rise","link":"<a href=\"module-rise.html\">rise</a>","description":"<p>Rise is a protocol for decentalized, eclipse-resistant identities.</p>"},{"title":"module:rise~EncryptedRiseMessage","link":"<a href=\"module-rise-EncryptedRiseMessage.html\">EncryptedRiseMessage</a>","description":"<p>Interface for an encrypted message.</p>"},{"title":"module:rise~EncryptedRiseMessage#decrypt","link":"<a href=\"module-rise-EncryptedRiseMessage.html#decrypt\">decrypt</a>","description":"<p>Decrypts the message using the supplied private key.</p>"},{"title":"module:rise~RiseIdentity","link":"<a href=\"module-rise-RiseIdentity.html\">RiseIdentity</a>","description":"<p>Rise <em>private</em> identity bundle. This is the primary interface for using\nthis module. Allows to generate new identities and use them as the\ncontext for protected operations.</p>"},{"title":"module:rise~RiseIdentity#fingerprint","link":"<a href=\"module-rise-RiseIdentity.html#fingerprint\">fingerprint</a>","description":"<p>160 bit solution hash.</p>"},{"title":"module:rise~RiseIdentity#lock","link":"<a href=\"module-rise-RiseIdentity.html#lock\">lock</a>","description":"<p>Creates an encrypted blob representation of this identity, suitable for\npersistance to disk.</p>"},{"title":"module:rise~RiseIdentity#message","link":"<a href=\"module-rise-RiseIdentity.html#message\">message</a>","description":"<p>Constructs an encrypted and signed {@link module:rise~RiseMessage} for the given\npublic key.</p>"},{"title":"module:rise~RiseIdentity#mnemonic","link":"<a href=\"module-rise-RiseIdentity.html#mnemonic\">mnemonic</a>","description":"<p>BIP39 recovery words.</p>"},{"title":"module:rise~RiseIdentity#salt","link":"<a href=\"module-rise-RiseIdentity.html#salt\">salt</a>","description":"<p>Used for local PBKDF2.</p>"},{"title":"module:rise~RiseIdentity#secret","link":"<a href=\"module-rise-RiseIdentity.html#secret\">secret</a>","description":"<p>Underlying secret key.</p>"},{"title":"module:rise~RiseIdentity#solution","link":"<a href=\"module-rise-RiseIdentity.html#solution\">solution</a>","description":"<p>Underlying equihash solution.</p>"},{"title":"module:rise~RiseIdentity#solve","link":"<a href=\"module-rise-RiseIdentity.html#solve\">solve</a>","description":"<p>Creates a new {@link RiseSolution} for this identity. This method updates\nthe internal state and will overwrite any previous solution performed in\nthis context.</p>"},{"title":"module:rise~RiseIdentity#toJSON","link":"<a href=\"module-rise-RiseIdentity.html#toJSON\">toJSON</a>","description":"<p>Returns a plain object representation of this identity, serializable to JSON.</p>"},{"title":"module:rise~RiseIdentity.K","link":"<a href=\"module-rise-RiseIdentity.html#.K\">K</a>","description":"<p>Equihash K parameter (length).</p>"},{"title":"module:rise~RiseIdentity.MAGIC","link":"<a href=\"module-rise-RiseIdentity.html#.MAGIC\">MAGIC</a>","description":"<p>Rise magic number. Used as message terminator and protocol identitifier.</p>"},{"title":"module:rise~RiseIdentity.N","link":"<a href=\"module-rise-RiseIdentity.html#.N\">N</a>","description":"<p>Equihash N parameter (width in bits).</p>"},{"title":"module:rise~RiseIdentity.SALT","link":"<a href=\"module-rise-RiseIdentity.html#.SALT\">SALT</a>","description":"<p>Rise default salt for pbkdf2 operations.</p>"},{"title":"module:rise~RiseIdentity.TEST_K","link":"<a href=\"module-rise-RiseIdentity.html#.TEST_K\">TEST_K</a>","description":"<p>Lowered length for testing.</p>"},{"title":"module:rise~RiseIdentity.TEST_MAGIC","link":"<a href=\"module-rise-RiseIdentity.html#.TEST_MAGIC\">TEST_MAGIC</a>","description":"<p>Magic number to segment test network.</p>"},{"title":"module:rise~RiseIdentity.TEST_N","link":"<a href=\"module-rise-RiseIdentity.html#.TEST_N\">TEST_N</a>","description":"<p>Lowered width for testing.</p>"},{"title":"module:rise~RiseIdentity.TEST_Z","link":"<a href=\"module-rise-RiseIdentity.html#.TEST_Z\">TEST_Z</a>","description":"<p>Lowered difficulty for testing.</p>"},{"title":"module:rise~RiseIdentity.Z","link":"<a href=\"module-rise-RiseIdentity.html#.Z\">Z</a>","description":"<p>Default difficuly setting. Require this many leading zeroes in solution\nproofs.</p>"},{"title":"module:rise~RiseIdentity.generate","link":"<a href=\"module-rise-RiseIdentity.html#.generate\">generate</a>","description":"<p>&quot;Mines&quot; a new {@link module:rise~RiseIdentity} and <em>iteratively</em> generates\n{@link module:rise~RiseSolution}s until one is found that satisfies the stated\ndifficulty.</p>"},{"title":"module:rise~RiseIdentity.unlock","link":"<a href=\"module-rise-RiseIdentity.html#.unlock\">unlock</a>","description":"<p>Decrypts the blob given the password and creates a new instance.</p>"},{"title":"module:rise~RiseMessage","link":"<a href=\"module-rise-RiseMessage.html\">RiseMessage</a>","description":"<p>Interface allowing for authenticated message exchange.</p>"},{"title":"module:rise~RiseMessage#body","link":"<a href=\"module-rise-RiseMessage.html#body\">body</a>","description":"<p>Key-value pairs given for the message.</p>"},{"title":"module:rise~RiseMessage#encrypt","link":"<a href=\"module-rise-RiseMessage.html#encrypt\">encrypt</a>","description":"<p>Encrypts the message state for the public key provided.</p>"},{"title":"module:rise~RiseMessage#head","link":"<a href=\"module-rise-RiseMessage.html#head\">head</a>","description":"<p>Default message headers, plus any custom ones supplied.</p>"},{"title":"module:rise~RiseMessage#sign","link":"<a href=\"module-rise-RiseMessage.html#sign\">sign</a>","description":"<p>Signs the message state using the private key provided.</p>"},{"title":"module:rise~RiseMessage#toBuffer","link":"<a href=\"module-rise-RiseMessage.html#toBuffer\">toBuffer</a>","description":"<p>Serializes the message to wire format.</p>"},{"title":"module:rise~RiseMessage#unwrap","link":"<a href=\"module-rise-RiseMessage.html#unwrap\">unwrap</a>","description":"<p>Returns only the body of this message.</p>"},{"title":"module:rise~RiseMessage#validate","link":"<a href=\"module-rise-RiseMessage.html#validate\">validate</a>","description":"<p>Ensures the solution header is valid.</p>"},{"title":"module:rise~RiseMessage.fromBuffer","link":"<a href=\"module-rise-RiseMessage.html#.fromBuffer\">fromBuffer</a>","description":"<p>Creates a new message instance from the serialized message.</p>"},{"title":"module:rise~RiseMessage~Head","link":"<a href=\"module-rise-RiseMessage.html#~Head\">Head</a>","description":"<p>Protocol headers included in every rise message.</p>"},{"title":"module:rise~RiseSecret","link":"<a href=\"module-rise-RiseSecret.html\">RiseSecret</a>","description":"<p>Interface for secp256k1 key pair. If no secret is provided, one will be\ngenerated.</p>"},{"title":"module:rise~RiseSecret#decrypt","link":"<a href=\"module-rise-RiseSecret.html#decrypt\">decrypt</a>","description":"<p>Decrypts the given data using the underlying private key.</p>"},{"title":"module:rise~RiseSecret#privateKey","link":"<a href=\"module-rise-RiseSecret.html#privateKey\">privateKey</a>","description":"<p>Underlying private key.</p>"},{"title":"module:rise~RiseSecret#publicKey","link":"<a href=\"module-rise-RiseSecret.html#publicKey\">publicKey</a>","description":"<p>Public key derived from private key.</p>"},{"title":"module:rise~RiseSecret#sign","link":"<a href=\"module-rise-RiseSecret.html#sign\">sign</a>","description":"<p>Creates a digital signature from the provided data.</p>"},{"title":"module:rise~RiseSolution","link":"<a href=\"module-rise-RiseSolution.html\">RiseSolution</a>","description":"<p>Interface for identity solutions.</p>"},{"title":"module:rise~RiseSolution#difficulty","link":"<a href=\"module-rise-RiseSolution.html#difficulty\">difficulty</a>","description":"<p>Number of leading zeroes in the proof.</p>"},{"title":"module:rise~RiseSolution#epoch","link":"<a href=\"module-rise-RiseSolution.html#epoch\">epoch</a>","description":"<p>Network magic number.</p>"},{"title":"module:rise~RiseSolution#fingerprint","link":"<a href=\"module-rise-RiseSolution.html#fingerprint\">fingerprint</a>","description":"<p>RIPEMD-160 hash for SHA-256 hash of serialized solution.</p>"},{"title":"module:rise~RiseSolution#getProofAsBinaryString","link":"<a href=\"module-rise-RiseSolution.html#getProofAsBinaryString\">getProofAsBinaryString</a>","description":"<p>Represents the proof as a string of 1's and 0's.</p>"},{"title":"module:rise~RiseSolution#nonce","link":"<a href=\"module-rise-RiseSolution.html#nonce\">nonce</a>","description":"<p>Solution nonce.</p>"},{"title":"module:rise~RiseSolution#proof","link":"<a href=\"module-rise-RiseSolution.html#proof\">proof</a>","description":"<p>Equihash proof.</p>"},{"title":"module:rise~RiseSolution#pubkey","link":"<a href=\"module-rise-RiseSolution.html#pubkey\">pubkey</a>","description":"<p>Public key.</p>"},{"title":"module:rise~RiseSolution#toJSON","link":"<a href=\"module-rise-RiseSolution.html#toJSON\">toJSON</a>","description":"<p>Serilaizes the solution into a JSON object.</p>"},{"title":"module:rise~RiseSolution#verify","link":"<a href=\"module-rise-RiseSolution.html#verify\">verify</a>","description":"<p>Ensures that the solution is valid.</p>"},{"title":"module:rise~RiseSolution.fromJSON","link":"<a href=\"module-rise-RiseSolution.html#.fromJSON\">fromJSON</a>","description":"<p>Constructs a {@link RiseSolution} from a JSON object.</p>"},{"title":"module:rise~SignedRiseMessage","link":"<a href=\"module-rise-SignedRiseMessage.html\">SignedRiseMessage</a>","description":"<p>Interface for digitall signed rise message</p>"},{"title":"module:rise~SignedRiseMessage#verify","link":"<a href=\"module-rise-SignedRiseMessage.html#verify\">verify</a>","description":"<p>Ensures that the digita signature is valid.</p>"}]}