A variant of the EncodingPathStorage that hashes the key instead of converting to base64 encoding.
This class was created specifically to prevent the issue of identifiers being too long when storing data: https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1013
This should eventually be replaced by a more structural approach once internal storage has been refactored and data migration from older versions and formats is supported.
Protected
Readonly
Deletes the value stored for the given key.
Key to delete.
If there was a value to delete.
An iterable of entries in the storage.
Returns the value stored for the given identifier. undefined if no value is stored.
undefined
Checks if there is a value stored for the given key.
Converts a key into a path for internal storage.
Converts an internal storage path string into the original path key.
Sets the value for the given key.
Key to set/update.
Value to store.
The storage.
A variant of the EncodingPathStorage that hashes the key instead of converting to base64 encoding.
This class was created specifically to prevent the issue of identifiers being too long when storing data: https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1013
This should eventually be replaced by a more structural approach once internal storage has been refactored and data migration from older versions and formats is supported.