diff --git a/README.md b/README.md index 033db4e..ee82c81 100644 --- a/README.md +++ b/README.md @@ -164,12 +164,12 @@ SHA256 digest for BasePlus: B34E352EC52E05B8BBE1816E6104F47677CBFDEAF7CD71B8BF04 [Documentation for BasePlus](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/baseplus.md "Documentation for BasePlus") -- **GSM** (Generate Secure Macros)\[0.16\], package allows +- **GSM** (Generate Secure Macros)\[0.17\], package allows to create secured macros stored in SAS Proc FCMP functions. The dataset with functions can be shared between different operating systems and allows to generate macros on site without showing their code. -SHA256 digest for GSM: 96B8E8EE268403D81BBB2740A0F47B835EB480F16B47A9B51FD976DEE3595ED7 +SHA256 digest for GSM: F6EE77A3C042E1E083E970BE255D126B52A75205DC1FB9A4A7337D0A89EEC7EB [Documentation for GSM](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/gsm.md "Documentation for GSM") diff --git a/packages/README.md b/packages/README.md index c25d56c..e2266ab 100644 --- a/packages/README.md +++ b/packages/README.md @@ -110,12 +110,12 @@ SHA256 digest for BasePlus: B34E352EC52E05B8BBE1816E6104F47677CBFDEAF7CD71B8BF04 --- -- **GSM** (Generate Secure Macros)\[0.15\], package allows +- **GSM** (Generate Secure Macros)\[0.17\], package allows to create secured macros stored in SAS Proc FCMP functions. The dataset with functions can be shared between different operating systems and allows to generate macros on site without showing their code. -SHA256 digest for GSM: 96B8E8EE268403D81BBB2740A0F47B835EB480F16B47A9B51FD976DEE3595ED7 +SHA256 digest for GSM: F6EE77A3C042E1E083E970BE255D126B52A75205DC1FB9A4A7337D0A89EEC7EB [Documentation for GSM](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/gsm.md "Documentation for GSM") diff --git a/packages/SHA256_for_packages.txt b/packages/SHA256_for_packages.txt index 763b38a..f0299c5 100644 --- a/packages/SHA256_for_packages.txt +++ b/packages/SHA256_for_packages.txt @@ -1,5 +1,5 @@ /* 20211112 */ -GSM: 96B8E8EE268403D81BBB2740A0F47B835EB480F16B47A9B51FD976DEE3595ED7 +GSM: F6EE77A3C042E1E083E970BE255D126B52A75205DC1FB9A4A7337D0A89EEC7EB /* 20211111 */ BasePlus: B34E352EC52E05B8BBE1816E6104F47677CBFDEAF7CD71B8BF04FDBFA01B0EF0 diff --git a/packages/gsm.md b/packages/gsm.md index 9ed1c9f..2d3ac5a 100644 --- a/packages/gsm.md +++ b/packages/gsm.md @@ -8,7 +8,7 @@ --- -# The GSM package [ver. 0.16] ############################################### +# The GSM package [ver. 0.17] ############################################### The **GSM** (a.k.a. *Generate Secure Macros*) package allows to create secured macros stored in SAS Proc FCMP functions. @@ -67,8 +67,8 @@ Required SAS Components: * SAS package generated by generatePackage, version 20211111 * -The SHA256 hash digest for package BasePlus: -`96B8E8EE268403D81BBB2740A0F47B835EB480F16B47A9B51FD976DEE3595ED7` +The SHA256 hash digest for package GSM: +`F6EE77A3C042E1E083E970BE255D126B52A75205DC1FB9A4A7337D0A89EEC7EB` ## >>> `%GSM()` macro: <<< ####################### @@ -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. + --- diff --git a/packages/gsm.zip b/packages/gsm.zip index c68e007..3e26b53 100644 Binary files a/packages/gsm.zip and b/packages/gsm.zip differ