aboutsummaryrefslogblamecommitdiff
path: root/src/js/casinocoin-util.js
blob: cc6443ea8a35e93911ca23bab1ea068f39f75887 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                         

                                                                                                   



                                        
                                                                                                                                
 
function convertCasinoCoinAdrr(address) {
        return libs.basex('cpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2brdeCg65jkm8oFqi1tuvAxyz').encode(
           libs.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(address)
        )
      }

function convertCasinoCoinPriv(priv)   {
        return libs.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,66)
}