Hardware Trojan Detection In Cryptography Ip Cores By Library Encoding Method