A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://rubydoc.info/github/cryptosphere/rbnacl/RbNaCl/OneTimeAuths/Poly1305 below:

Poly1305 – Documentation for cryptosphere/rbnacl (main) – RubyDoc.info

Class: RbNaCl::OneTimeAuths::Poly1305
Inherits:
Auth show all
Extended by:
Sodium
Defined in:
lib/rbnacl/one_time_auths/poly1305.rb
Overview

Computes an authenticator using poly1305

The authenticator can be used at a later time to verify the provenance of the message by recomputing the tag over the message and then comparing it to the provided authenticator. The class provides methods for generating signatures and also has a constant-time implementation for checking them.

As the name suggests, this is a ONE TIME authenticator. Computing an authenticator for two messages using the same key probably gives an attacker enough information to forge further authenticators for the same key.

This is a secret key authenticator, i.e. anyone who can verify signatures can also create them.

Constant Summary Constants inherited from Auth

Auth::BYTES, Auth::KEYBYTES

Method Summary Methods included from Sodium

primitive, sodium_constant, sodium_function, sodium_function_with_return_code, sodium_primitive, sodium_type

Methods inherited from Auth

#auth, auth, #initialize, #key_bytes, key_bytes, #primitive, tag_bytes, #tag_bytes, verify, #verify

Constructor Details

This class inherits a constructor from RbNaCl::Auth


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4