[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/sodium_compat/src/Core/ -> Ed25519.php (summary)

Class ParagonIE_Sodium_Core_Ed25519

File Size: 551 lines (17 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 18 functions

  keypair()
  seed_keypair()
  secretkey()
  publickey()
  publickey_from_secretkey()
  pk_to_curve25519()
  sk_to_pk()
  sign()
  sign_open()
  sign_detached()
  verify_detached()
  check_S_lt_L()
  small_order()
  scalar_complement()
  scalar_random()
  scalar_negate()
  scalar_add()
  scalar_sub()

Functions
Functions that are not part of a class:

keypair()   X-Ref

return: string (96 bytes)

seed_keypair(&$pk, &$sk, $seed)   X-Ref

param: string $pk
param: string $sk
param: string $seed
return: string

secretkey($keypair)   X-Ref

param: string $keypair
return: string

publickey($keypair)   X-Ref

param: string $keypair
return: string

publickey_from_secretkey($sk)   X-Ref

param: string $sk
return: string

pk_to_curve25519($pk)   X-Ref

param: string $pk
return: string

sk_to_pk($sk)   X-Ref

param: string $sk
return: string

sign($message, $sk)   X-Ref

param: string $message
param: string $sk
return: string

sign_open($message, $pk)   X-Ref

param: string $message A signed message
param: string $pk      Public key
return: string         Message (without signature)

sign_detached($message, $sk)   X-Ref

param: string $message
param: string $sk
return: string

verify_detached($sig, $message, $pk)   X-Ref

param: string $sig
param: string $message
param: string $pk
return: bool

check_S_lt_L($S)   X-Ref

param: string $S
return: bool

small_order($R)   X-Ref

param: string $R
return: bool

scalar_complement($s)   X-Ref

param: string $s
return: string

scalar_random()   X-Ref

return: string

scalar_negate($s)   X-Ref

param: string $s
return: string

scalar_add($a, $b)   X-Ref

param: string $a
param: string $b
return: string

scalar_sub($x, $y)   X-Ref

param: string $x
param: string $y
return: string



Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1