simple and unifed api for crypto api libraries