I actually did a function like this that takes a number to produce a crypted number and it worked fine in Oracle 10 but now it doesn't work anymore in ORACLE 11: function crypt (key varchar2, n number) return number rawinput RAW(128); encryptedraw RAW(2048); rawkey RAW(128):= UTLRAW.CASTTORAW(CONVERT(key,'AL32UTF8','US7ASCII')); begin raw.
CryptarithmsCryptarithms are a type of mathematical puzzle in which the digits are replaced by symbols (typically letters of the alphabet). For example:9567 + 1085 = 10652can be represented like this: abcd + efgb = efcbhAlphameticsThe term alphametic is used when the letters form words and phrases. Here's a famous one:SEND+MOREMONEY9552(JavaScript must be enabled to see the solutions.)There is also a subset of alphametics called 'doubly-true' where the words are spelt out numbers which also form a valid sum:FORTYTEN+TENSIXTY2971486Try these other.Cryptarithm Rules. Each letter represents a unique digit. Numbers must not start with a zero.
The solution is unique (unless otherwise stated).Links to other cryptarithm sites.Other sitesIf you like puzzles, why not try these sites.