PHP Classes

File: src/EasyRSAInterface.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   Easy PHP RSA Library   src/EasyRSAInterface.php   Download  
File: src/EasyRSAInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Easy PHP RSA Library
RSA data encryption and decryption using phpseclib
Author: By
Last change:
Date: 3 years ago
Size: 374 bytes
 

Contents

Class file image Download
<?php
namespace ParagonIE\EasyRSA;

interface
EasyRSAInterface
{
    public static function
encrypt($plaintext, PublicKey $rsaPublicKey);
    public static function
decrypt($ciphertext, PrivateKey $rsaPrivateKey);
    public static function
sign($plaintext, PrivateKey $rsaPrivateKey);
    public static function
verify($ciphertext, $signature, PublicKey $rsaPublicKey);
}