Skip to content

update docs for efuns hash, crypt, oldcrypt, and sha1#1000

Merged
thefallentree merged 10 commits intofluffos:masterfrom
michaelprograms:crypt_docs
Sep 2, 2023
Merged

update docs for efuns hash, crypt, oldcrypt, and sha1#1000
thefallentree merged 10 commits intofluffos:masterfrom
michaelprograms:crypt_docs

Conversation

@michaelprograms
Copy link
Copy Markdown
Contributor

@michaelprograms michaelprograms commented Sep 1, 2023

Docs

  • Create docs/efun/strings/hash.md
  • Update docs/efun/strings/crypt.md
  • Create docs/efun/strings/oldcrypt.md
  • Create doc/efun/strings/sha1.md

Changes

  • Change src/packages/crypto/crypto.cc f_hash error() to include a line return

Tests

  • Expand testing in testsuite/single/tests/efun/hash

@michaelprograms michaelprograms changed the title Crypt docs Update docs for efuns hash, crypt, and olcrypt Sep 1, 2023
@michaelprograms michaelprograms changed the title Update docs for efuns hash, crypt, and olcrypt update docs for efuns hash, crypt, oldcrypt, and sha1 Sep 1, 2023
result:
if (!result) {
error("hash() unknown hash type: %s", algo);
error("hash() unknown hash type: %s\n", algo);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error msg should have an trailing newline

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added one because it was missing. Does it need removed?

@thefallentree thefallentree merged commit bc1d72b into fluffos:master Sep 2, 2023
@michaelprograms michaelprograms deleted the crypt_docs branch September 11, 2023 23:02
lostsnow pushed a commit to lostsnow/fluffos that referenced this pull request Mar 12, 2024
* add docs/efun/strings/hash.md

* update f_hash error message print new line

* expand tests/efuns/hash testing

* update docs/efun/strings/crypt.md

* create docs/efun/strings/oldcrypt.md

* run docs/update_index.sh

* add docs/efun/strings/sha1.md

* run docs/update_index.sh

* simplify oldcrypt docs

* revert single/tests/efuns/hash test structure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants