# final class \SmartCsrf
{ } ::

Class Smart.Framework CSRF
A Safety Handler against Cross-Site Request Forgery (CSRF)

- Language: PHP
- Located at: lib/framework/lib_cryptohs.php
- Package: Application
- Namespace: \
- Class Name: SmartCsrf
- Version: v.20231114
- Depends: Smart, SmartHashCrypto
- Hints: This is generally intended for advanced usage !
- Usage: static object: Class::method() - This class provides only STATIC methods

## class Methods

public static function newPrivateKey ( ) {} :: STRING
public static function getPublicKey ( string $privKey, string $secret ) {} :: STRING
public static function verifyKeys ( string $pubKey, string $privKey, string $secret ) {} :: BOOL

## class Properties

## class Constants

## Sample code: PHP

`

    <?php

    // Usage example:
     SmartCsrf::some_method_of_this_class(...);

    // #end php code

`

documentation generated on: 2024-12-16 16:53:44 +0000

Smart.Framework © 2009-2024 unix-world.org