mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 13:00:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			349 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			349 B
		
	
	
	
		
			C#
		
	
	
	
	
	
namespace AIStudio.Tools;
 | 
						|
 | 
						|
public static class EncryptedTextExtensions
 | 
						|
{
 | 
						|
    public static async Task<EncryptedText> Encrypt(this string data, Encryption encryption) => await encryption.Encrypt(data);
 | 
						|
 | 
						|
    public static async Task<string> Decrypt(this EncryptedText encryptedText, Encryption encryption) => await encryption.Decrypt(encryptedText);
 | 
						|
} |