Binary Conversion (AREV Specific)
At 12 OCT 1998 10:27:15AM Matt Sorrell wrote:
Okay everyone,
I need some help here. I'm trying to create a hash algorithm for application security, but I've hit a snag.
I cannot figure out how to get Advanced Revelation 3.12 to convert a character string to binary. The OCONV and ICONV specs say that that only works for decimal numbers.
Does anyone know of a way to convert an alphanumeric character string into binary?
TIA,
Matt Sorrell
At 12 OCT 1998 12:11PM Victor Engel wrote:
There are two hexadecimal conversions. One is MX and the other is HEX. Use MX for numbers and HEX for strings.
At 12 OCT 1998 04:19PM Steve Smith wrote:
Victor's advice is 100% Also the SEQ(character) and CHAR(number) and MOD(number,divisor) functions may be helpful. SEQ returns the ascii value of a character, and CHAR produces the ascii value requested. MOD returns the remainder of a division operation.