API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

RSA PADDING TYPES

Brew Release
Brew MP 1.0.2
Description
Defines for well known padding types that can be used while doing an encypt or decrypt (parameter nPadType); More padding types can be associated / introduced by a specific engine implementation
IPUBKEY_PKCS1TYPE1_PADDING : PKCS #1 v1.5 padding. This currently is the most widely used mode.
IPUBKEY_PKCS1TYPE2_PADDING : PKCS #1 v2.0 padding. This currently is the most widely used mode.
IPUBKEY_SSLV23_PADDING : PKCS #1 v1.5 padding with an SSL-specific modification that denotes that the server is SSL3 capable
IPUBKEY_NO_PADDING : No padding used. Application should only use cryptographically sound padding modes when no padding is used; modulus, input data and output buffer should all be of same size IPUBKEY_PKCS1_OAEP_SHA1_MGF1_PADDING: PKCS #1 v2.1 OAEP padding.