MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _validate_script_encryption_key

Method _validate_script_encryption_key

editor/export/project_export.cpp:655–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653}
654
655bool ProjectExportDialog::_validate_script_encryption_key(const String &p_key) {
656 bool is_valid = false;
657
658 if (!p_key.is_empty() && p_key.is_valid_hex_number(false) && p_key.length() == 64) {
659 is_valid = true;
660 }
661 return is_valid;
662}
663
664void ProjectExportDialog::_script_export_mode_changed(int p_mode) {
665 if (updating) {

Callers

nothing calls this directly

Calls 3

is_valid_hex_numberMethod · 0.80
is_emptyMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected