πCrypto
The module that handles encryption and decryption.
Imports
import { CryptoService } from 'niro-health';import { CryptoModule } from 'niro-health';import type { ICryptoService } from 'niro-health';Environment Variables
name
description
CRYPTO_PASSWORD=o4t7bNT5CbOnlqBcah40R99zierzSQz3MS9Ssceqq2U=Application Variables
name
values
description
How to set variable
import { Inject, Injectable } from '@nestjs/common';
import type { IConfigurationService } from 'niro-health';
@Injectable()
export class AppService {
constructor(
@Inject('IConfigurationService')
private readonly configurationService: IConfigurationService,
) {
this.initialize();
}
async initialize() {
return this.configurationService.setVariable('crypto_driver', 'redis');
}
}Method of Use
With dependencies
Interface
Service
Properties
Property
Scope
Description
Methods
Method
Scope
Description
Last updated