Beamable SDK
Public Member Functions | Protected Member Functions | List of all members
PubNubMessaging.Core.PubnubCrypto Class Reference
Inheritance diagram for PubNubMessaging.Core.PubnubCrypto:
Inheritance graph
[legend]
Collaboration diagram for PubNubMessaging.Core.PubnubCrypto:
Collaboration graph
[legend]

Public Member Functions

 PubnubCrypto (string cipher_key)
 
- Public Member Functions inherited from PubNubMessaging.Core.PubnubCryptoBase
 PubnubCryptoBase (string cipher_key)
 
string Encrypt (string plainText)
 
string Decrypt (string cipherText)
 
string PubnubAccessManagerSign (string key, string data)
 

Protected Member Functions

override string ComputeHashRaw (string input)
 Computes the hash using the specified algo More...
 
override string EncryptOrDecrypt (bool type, string plainStr)
 
- Protected Member Functions inherited from PubNubMessaging.Core.PubnubCryptoBase
string GetEncryptionKey ()
 
string EncodeNonAsciiCharacters (string value)
 Encodes the non ASCII characters. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from PubNubMessaging.Core.PubnubCryptoBase
static string ConvertHexToUnicodeChars (string value)
 Converts the upper case hex to lower case hex. More...
 

Member Function Documentation

◆ ComputeHashRaw()

override string PubNubMessaging.Core.PubnubCrypto.ComputeHashRaw ( string  input)
inlineprotectedvirtual

Computes the hash using the specified algo

Returns
The hash.
Parameters
inputInput string
algorithmAlgorithm to use for Hashing

Implements PubNubMessaging.Core.PubnubCryptoBase.

◆ EncryptOrDecrypt()

override string PubNubMessaging.Core.PubnubCrypto.EncryptOrDecrypt ( bool  type,
string  plainStr 
)
inlineprotectedvirtual

EncryptOrDecrypt

Basic function for encrypt or decrypt a string for encrypt type = true for decrypt type = false

Implements PubNubMessaging.Core.PubnubCryptoBase.


The documentation for this class was generated from the following file: