SecureBlackbox 2020 iOS Edition

Questions / Feedback?

encrypt (method)

Encrypts a buffer.

Syntax

- (NSData*)encrypt:(NSData*)buffer;
public func encrypt(_ buffer: Data) throws -> Data

Remarks

Use this method to encrypt a byte array and get the protected message in another byte array.

Specify the encryption key in Key property before calling this method.

This is a one-off encryption method. Don't use it with granular per-block methods(EncryptInit, EncryptUpdate, EncryptFinal).

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 iOS Edition - Version 20.0 [Build 8166]