You are here

public function ParagonIE_Sodium_Core32_Curve25519_Fe::__debugInfo in Automatic Updates 7

Same name and namespace in other branches
  1. 8 vendor/paragonie/sodium_compat/src/Core32/Curve25519/Fe.php \ParagonIE_Sodium_Core32_Curve25519_Fe::__debugInfo()

@internal You should not use this directly from another application

Return value

array

File

vendor/paragonie/sodium_compat/src/Core32/Curve25519/Fe.php, line 166

Class

ParagonIE_Sodium_Core32_Curve25519_Fe
Class ParagonIE_Sodium_Core32_Curve25519_Fe

Code

public function __debugInfo() {
  if (empty($this->container)) {
    return array();
  }
  $c = array(
    (int) $this->container[0]
      ->toInt(),
    (int) $this->container[1]
      ->toInt(),
    (int) $this->container[2]
      ->toInt(),
    (int) $this->container[3]
      ->toInt(),
    (int) $this->container[4]
      ->toInt(),
    (int) $this->container[5]
      ->toInt(),
    (int) $this->container[6]
      ->toInt(),
    (int) $this->container[7]
      ->toInt(),
    (int) $this->container[8]
      ->toInt(),
    (int) $this->container[9]
      ->toInt(),
  );
  return array(
    implode(', ', $c),
  );
}