Paste::get_crypto PHP Method

get_crypto() public method

public get_crypto ( )
    function get_crypto()
    {
        // default to crypto-js
        if (empty($this->paste)) {
            return 'CRYPTO_JS';
        }
        // return the type of crypto that was used for the paste
        return $this->paste['crypto'];
    }