This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import c4d | |
from c4d import utils | |
# returns list of all children matching the name within given hierarchy | |
def findChildrenWithName(parent, childName): | |
op = parent | |
if parent.GetName() == childName: | |
return op |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#include "stdafx.h" | |
#include <sodium.h> | |
#include <iostream> | |
using namespace std; | |
#define MESSAGE (const unsigned char *) "test" | |
#define MESSAGE_LEN 4 | |
#define CIPHERTEXT_LEN (crypto_box_SEALBYTES + MESSAGE_LEN) |