Package GSM, version 0.17

Package GSM, version 0.17:

-New parameter `secret` added.
-The doc. updated.
This commit is contained in:
yabwon
2021-11-12 13:56:17 +01:00
parent 3f380b4e64
commit fe631f9e44
5 changed files with 21 additions and 7 deletions

View File

@@ -8,7 +8,7 @@
---
# The GSM package [ver. 0.16] <a name="gsm-package"></a> ###############################################
# The GSM package [ver. 0.17] <a name="gsm-package"></a> ###############################################
The **GSM** (a.k.a. *Generate Secure Macros*) package allows
to create secured macros stored in SAS Proc FCMP functions.
@@ -68,7 +68,7 @@ Required SAS Components:
* SAS package generated by generatePackage, version 20211111 *
The SHA256 hash digest for package GSM:
`96B8E8EE268403D81BBB2740A0F47B835EB480F16B47A9B51FD976DEE3595ED7`
`F6EE77A3C042E1E083E970BE255D126B52A75205DC1FB9A4A7337D0A89EEC7EB`
## >>> `%GSM()` macro: <<< <a name="gsm-macro"></a> #######################
@@ -115,6 +115,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
<,source2=>
<,outpath=>
<,encodingRestricted=>
<,secret=>
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -142,6 +143,13 @@ The basic syntax is the following, the `<...>` means optional parameters:
encoding of the session which generates the dataset then
the generateMacros() function will not execute macro code.
* `secret=` - *Optional*, the default value is null, in such case the
secret is generated from the `sha256(datetime(), hex32.)` function
and is printed in the log. When not null then should be
alphanumerical constant. Non-alphanumerical characters are removed.
Required to execute the `resolve()` function.
User who do not know the value will not be able
to run the `_maxro_XX_()` function.
---
@@ -214,6 +222,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
<,outlib=work.generateMacros.secure>
<,source2=>
<,fileNameCode=FNC>
<,secret=123456789>
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -238,6 +247,11 @@ The basic syntax is the following, the `<...>` means optional parameters:
* `fileNameCode=` - *Optional*, the default value is `FNC`.
Internal fileref.
* `secret=` - *Optional*, internal, the default value is `1234567890`.
Alphanumerical constant required to execute the `resolve()`
function. User who do not know the value will not be able
to run the `_maxro_XX_()` function.
---