Energy Core Library
Energy.Base.Cipher.Method Class Reference

Generic class for cipher algorithms with default behaviour of throwing NotSupportedException if method is not implemented More...

Inheritance diagram for Energy.Base.Cipher.Method:
Energy.Core.Cipher.DES Energy.Core.Cipher.MD5 Energy.Core.Cipher.SHA1

Public Member Functions

virtual string Encrypt (string content)
 
virtual string Decrypt (string content)
 

Detailed Description

Generic class for cipher algorithms with default behaviour of throwing NotSupportedException if method is not implemented

Exceptions
NotSupportedExceptionThrown when method is not supported

>

Member Function Documentation

◆ Decrypt()

virtual string Energy.Base.Cipher.Method.Decrypt ( string  content)
virtual

Reimplemented in Energy.Core.Cipher.DES.

◆ Encrypt()

virtual string Energy.Base.Cipher.Method.Encrypt ( string  content)
virtual

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