@kephas/core
Version:
Provides a common infrastructure for all the other Kephas Framework components: ambient services, dynamic reflection, composition, application management, and others.
18 lines (17 loc) • 481 B
TypeScript
import { Context } from '../services/context';
/**
* Provides the Hash method for hashing values.
*
* @export
* @class HashingService
*/
export declare class HashingService {
/**
* Hashes the value producing a Base64 encoded string.
*
* @param {string} value The value to hash.
* @returns {string} The hash value as a Base64 encoded string.
* @memberof HashingService
*/
hash(value: string, context?: Context): string;
}