crypto: change global method_supported  variable to Crypto class varaible