[ 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

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

secretkey($keypair)   X-Ref

return: string
param: string $keypair

publickey($keypair)   X-Ref

return: string
param: string $keypair

publickey_from_secretkey($sk)   X-Ref

return: string
param: string $sk

pk_to_curve25519($pk)   X-Ref

return: string
param: string $pk

sk_to_pk($sk)   X-Ref

return: string
param: string $sk

sign($message, $sk)   X-Ref

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

sign_open($message, $pk)   X-Ref

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

sign_detached($message, $sk)   X-Ref

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

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

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

check_S_lt_L($S)   X-Ref

return: bool
param: string $S

small_order($R)   X-Ref

return: bool
param: string $R

scalar_complement($s)   X-Ref

return: string
param: string $s

scalar_random()   X-Ref

return: string

scalar_negate($s)   X-Ref

return: string
param: string $s

scalar_add($a, $b)   X-Ref

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

scalar_sub($x, $y)   X-Ref

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



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1