Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
using System.Collections;
using System.Reflection;
using UnityEditor;
using System;
public class NumberWizard : MonoBehaviour {
int max;
int min;
@Amadren
Amadren / AES-Encrypt-Sample
Created April 11, 2015 06:02
AES php encryption sample
<?php
$password = "myPassword_!";
$messageClear = "Secret message";
// 32 byte binary blob
$aes256Key = hash("SHA256", $password, true);
// for good entropy (for MCRYPT_RAND)
srand((double) microtime() * 1000000);
// generate random iv
package ;
import cpp.Lib;
import org.gameplay3d.*;
/**
* Crée par Amadren.
* Sous licence MIT
* Coyright Amadren 2014