Re: Java encryption implementation
From: Mike Amling (nospam_at_icic.gov.ir)
Date: 11/29/05
- Next message: Luc The Perverse: "Re: Email List Encryption - Problem"
- Previous message: Mike Amling: "Re: C-equivalence aware hash function"
- In reply to: Gregory G Rose: "Re: Java encryption implementation"
- Next in thread: Lars Schoening: "Re: Java encryption implementation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 29 Nov 2005 01:38:00 GMT
Gregory G Rose wrote:
>
> [*] does Java guarantee 64-bit longs? I'm not
> sure. In C/C++, this could give you either 48, 32,
> or even 16 meaningful bits in "seed".
Yes. A Java long is always exactly 64 signed bits, an int is 32
signed bits, a short is 16 signed bits, a char is 16 unsigned bits, a
byte is 8 signed bits, a float is IEEE 32-bit and a double is IEEE
64-bit, regardless of platform or version.
--Mike Amling
- Next message: Luc The Perverse: "Re: Email List Encryption - Problem"
- Previous message: Mike Amling: "Re: C-equivalence aware hash function"
- In reply to: Gregory G Rose: "Re: Java encryption implementation"
- Next in thread: Lars Schoening: "Re: Java encryption implementation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|