[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: private/public key support ?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 17 Mar 2010 09:45:35 -0300
> Those hex values represent urls as returned by :
Try this:
require"bc"
function url2bc(url)
local x=bc.number(0)
for i=1,#url do
x=16*x+url:byte(i)
end
return x
end
print(url2bc("http://www.lua.org/"))
- References:
- private/public key support ?, Valerio Schiavoni
- Re: private/public key support ?, Robert Raschke
- Re: private/public key support ?, Valerio Schiavoni
- Re: private/public key support ?, Valerio Schiavoni
- Re: private/public key support ?, Luiz Henrique de Figueiredo
- Re: private/public key support ?, Valerio Schiavoni
- Re: private/public key support ?, Luiz Henrique de Figueiredo
- Re: private/public key support ?, Valerio Schiavoni
- Re: private/public key support ?, Luiz Henrique de Figueiredo
- Re: private/public key support ?, Valerio Schiavoni