SecurityAliases Class

Summary

Contains security related functionality, such as calculating file hashes.
Namespace
Cake.Common.Security
Base Types
  • object
graph BT Type-->Base0["object"] Type["SecurityAliases"] class Type type-node

Syntax

[CakeAliasCategory("Security")]
public static class SecurityAliases

Attributes

Type Description
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Methods

Name Value Summary
CalculateFileHash(ICakeContext, FilePath) FileHash
Calculates the hash for a given file using the default (SHA256) algorithm.
static
CalculateFileHash(ICakeContext, FilePath, HashAlgorithm) FileHash
Calculates the hash for a given file.
static