cryptoworks fix for 0d00
rewrote Cryptoworks