Search Results for

    Show / Hide Table of Contents

    Class Encryption

    Contains algorithms for data encryption/decryption.

    Inheritance
    Encryption
    Assembly: FlaxEngine.dll
    File: Engine/Utilities/Encryption.h
    Syntax
    public class Encryption

    Methods

    Base64Decode(const char* encoded, int32 length, Array<byte>& output)

    Declaration
    public static void Base64Decode(const char* encoded, int32 length, Array<byte>& output)
    Parameters
    char encoded

    int32 length

    Array<byte> output

    Base64Decode(const char* encoded, int32 length, byte* output)

    Declaration
    public static void Base64Decode(const char* encoded, int32 length, byte* output)
    Parameters
    char encoded

    int32 length

    byte output

    Base64DecodeLength(const char* encoded, int32 length)

    Declaration
    public static int32 Base64DecodeLength(const char* encoded, int32 length)
    Parameters
    char encoded

    int32 length

    Returns
    int32

    Base64Encode(const byte* bytes, int32 size, Array<char>& encoded)

    Declaration
    public static void Base64Encode(const byte* bytes, int32 size, Array<char>& encoded)
    Parameters
    byte bytes

    int32 size

    Array<char> encoded

    Base64Encode(const byte* bytes, int32 size, char* encoded)

    Declaration
    public static void Base64Encode(const byte* bytes, int32 size, char* encoded)
    Parameters
    byte bytes

    int32 size

    char encoded

    Base64EncodeLength(int32 size)

    Declaration
    public static int32 Base64EncodeLength(int32 size)
    Parameters
    int32 size

    Returns
    int32

    DecryptBytes(byte* data, uint64 size)

    Decrypt bytes with custom data

    Declaration
    public static void DecryptBytes(byte* data, uint64 size)
    Parameters
    byte data

    Bytes to decrypt

    uint64 size

    Amount of bytes to process

    EncryptBytes(byte* data, uint64 size)

    Encrypt bytes with custom data

    Declaration
    public static void EncryptBytes(byte* data, uint64 size)
    Parameters
    byte data

    Bytes to encrypt

    uint64 size

    Amount of bytes to process

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat