add interfaces of crypto codec