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
using System.Collections; | |
using System.Collections.Generic; | |
using Spine.Unity; | |
using UnityEngine; | |
public class SkeletonRendererController : Singleton<SkeletonRendererController> { | |
public HashSet<SkeletonMecanim> passiveMecanims = new HashSet<SkeletonMecanim>(); | |
//There's a task created, after subdivs are known, change List>Array for speed. | |
public List<HashSet<SkeletonMecanim>> activeMecanimSets = new List<HashSet<SkeletonMecanim>>(); |
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 binascii | |
import base64 | |
def __decode_flag(encodedFlag, startChar): | |
decodedBytes = bytearray(binascii.unhexlify(encodedFlag)) | |
print(len(decodedBytes)) | |
output_bytes = [] | |
i = 0 |
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 base64 | |
import binascii | |
decodedFlag = 'That would have been too easy ^^' | |
encodedFlag = b'646a310e2d261f1121013717516236040e01161b183b2a0a0f54095126112f300e1d231b500705690e20103e01163423010e251727775331112f000c27013b200e1d2308390c3d0e2d2616330e1567570f2b3215390a3e202b5a006b' | |
def __encode_flag(decodedFlag): | |
print(decodedFlag.encode('utf-8')) | |
b64encoded = base64.b64encode(decodedFlag.encode('utf-8')) |