PDO GoSha Function generate AES-256 encrypted strings using GOModel

Description

GoSha is a secure function for encrypting values ​​using an advanced security standard.

Function Encode

  
                                void function gosha('encode', $stringValue);
                                

Function Decode

  
                                void function gosha('decode', $stringValue);
                                

Parameters Details

Details Type Example
encode / decode varchar encode
$stringValue - Value you want to encrypt alphanumeric boolean 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ

Examples

  
                                $GOModel = new GOModel(); //create object of the GOModel class
                                echo $GOModel->gosha('encode','123456');
                            

More Examples

 
                                $GOModel = new GOModel(); //create object of the GOModel class
                                echo $GOModel->gosha('decode','azFQenlkTktXcVo1OHBvaFJmdFZYQT09');
                            

Result/Output

Returns encrypted string
Returns decrypted string