This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Decrypt decrypts the ciphertext using AES with the given key | |
func Decrypt(ciphertext, key string) (string, error) { | |
// Convert the key and ciphertext to byte arrays | |
keyBytes := []byte(key) | |
ciphertextBytes, err := base64.StdEncoding.DecodeString(ciphertext) | |
if err != nil { | |
return "", err | |
} | |
// Create a new AES cipher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.8; | |
/* | |
telegram: https://t.me/singularitynet | |
@singularitynet | |
hashtag: #singularitynet | |
*/ | |
contract IGameAlgo { | |
function getRecommendScaleBylevelandTim(uint level, uint times) public view returns (uint); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
*Submitted for verification at Etherscan.io on 2019-07-24 | |
*/ | |
pragma solidity 0.5.10; | |
/** | |
* | |
* Ethereumfund.io Ethereum Hedge Fund is a hedge fund based on the cryptocurrencies that helps to all investors in our fund | |
* to Minimize the risks of investing in cryptocurrencies and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function check(event) { | |
var randomize = document.getElementById('randomize').value; | |
// var pattern = /"(.+?)" "(.+?)" "(.+?)" "(.+?)"/; | |
var ss, ssh, cs, nb, sn; | |
//console.log(event); | |
//console.log(randomize); | |
clear(); | |
if (randomize.length > 64) { | |
ss = randomize.substr(-8); |