jj: make compression & encription public
This commit is contained in:
parent
69286492ca
commit
70ceeeb51a
@ -2,7 +2,7 @@
|
|||||||
Imports System.IO.Compression
|
Imports System.IO.Compression
|
||||||
Imports DigitalData.Modules.Logging
|
Imports DigitalData.Modules.Logging
|
||||||
|
|
||||||
Friend Class Compression
|
Public Class Compression
|
||||||
Private ReadOnly _logger As Logger
|
Private ReadOnly _logger As Logger
|
||||||
|
|
||||||
Public Sub New(LogConfig As LogConfig)
|
Public Sub New(LogConfig As LogConfig)
|
||||||
|
|||||||
@ -5,7 +5,7 @@ Imports DigitalData.Modules.Logging
|
|||||||
''' <summary>
|
''' <summary>
|
||||||
''' https://stackoverflow.com/questions/10168240/encrypting-decrypting-a-string-in-c-sharp
|
''' https://stackoverflow.com/questions/10168240/encrypting-decrypting-a-string-in-c-sharp
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Friend Class Encryption
|
Public Class Encryption
|
||||||
' This constant is used to determine the keysize of the encryption algorithm in bits.
|
' This constant is used to determine the keysize of the encryption algorithm in bits.
|
||||||
' We divide this by 8 within the code below to get the equivalent number of bytes.
|
' We divide this by 8 within the code below to get the equivalent number of bytes.
|
||||||
Private Const KEY_SIZE As Integer = 256
|
Private Const KEY_SIZE As Integer = 256
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user