generator-jhipster-encrypt-id
v0.99.7
Published
JHipster blueprint to encrypt the ids of all entities in the UI and API.
Downloads
3
Maintainers
Readme
generator-jhipster-encrypt-id
JHipster blueprint, encrypt-id blueprint for JHipster
Introduction
This is a JHipster blueprint, that is meant to be used in a JHipster application.
You can choose to encrypt the ids for all entities or choose the entities with encrypted ids from a list during generation.
The blueprint will encrypt the ids of all selected entities in the user interface and the REST API, but NOT in the database. This is done to prohibit the users from guessing valid ids and by that preventing some kind of attacks against the application and also hiding some information, like the number of users, transactions, etc.
Prerequisites
As this is a JHipster blueprint, we expect you have JHipster and its related tools already installed:
Installation
To install or update this blueprint:
npm install -g generator-jhipster-encrypt-id
Usage
To use this blueprint, run the below command
jhipster-encrypt-id
or
jhipster --blueprints encrypt-id
You can look for updated encrypt-id blueprint specific options by running
jhipster-encrypt-id app --help
And looking for (blueprint option: encrypt-id)
options.
Pre-release
To use an unreleased version, install it using git.
npm install -g jhipster/generator-jhipster-encrypt-id#main
jhipster --blueprints encrypt-id --skip-jhipster-dependencies