Merge pull request #27 from yabwon/main

pull request
This commit is contained in:
Bart Jablonski
2021-11-12 13:59:57 +01:00
committed by GitHub
5 changed files with 22 additions and 8 deletions

View File

@@ -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")

View File

@@ -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")

View File

@@ -1,5 +1,5 @@
/* 20211112 */
GSM: 96B8E8EE268403D81BBB2740A0F47B835EB480F16B47A9B51FD976DEE3595ED7
GSM: F6EE77A3C042E1E083E970BE255D126B52A75205DC1FB9A4A7337D0A89EEC7EB
/* 20211111 */
BasePlus: B34E352EC52E05B8BBE1816E6104F47677CBFDEAF7CD71B8BF04FDBFA01B0EF0

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.
@@ -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: <<< <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.
---

Binary file not shown.